package com.ruoyi.fengkong.mapper;
import java.util.List;
import com.ruoyi.fengkong.entity.TFkBusinessCredit;


/**
 * 风控公寓授信主Mapper接口
 * 
 * @author wish
 * @date 2021-06-19
 */
public interface TFkBusinessCreditMapper 
{
    /**
     * 查询风控公寓授信主
     * 
     * @param id 风控公寓授信主ID
     * @return 风控公寓授信主
     */
    public TFkBusinessCredit selectTFkBusinessCreditById(Long id);

    /**
     * 查询风控公寓授信主列表
     * 
     * @param tFkBusinessCredit 风控公寓授信主
     * @return 风控公寓授信主集合
//     */
//    public List<TFkBusinessCredit> selectTFkBusinessCreditList(TFkBusinessCredit tFkBusinessCredit);

    /**
     * 新增风控公寓授信主
     * 
     * @param tFkBusinessCredit 风控公寓授信主
     * @return 结果
     */
    public int insertTFkBusinessCredit(TFkBusinessCredit tFkBusinessCredit);

    /**
     * 修改风控公寓授信主
     * 
     * @param tFkBusinessCredit 风控公寓授信主
     * @return 结果
     */
    public int updateTFkBusinessCredit(TFkBusinessCredit tFkBusinessCredit);

    /**
     * 删除风控公寓授信主
     * 
     * @param id 风控公寓授信主ID
     * @return 结果
     */
    public int deleteTFkBusinessCreditById(Long id);

    /**
     * 批量删除风控公寓授信主
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTFkBusinessCreditByIds(Long[] ids);

    List<TFkBusinessCredit> selectTFkBusinessCreditList(TFkBusinessCredit tFkBusinessCredit);
}
